Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

* CaseInsensitiveMap: added constructor fromEntries. #99

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

gmpassos
Copy link
Contributor

  • CaseInsensitiveMap: added constructor fromEntries.

  • collection: ^1.19.0

Real-world case:

Avoid unnecessary overhead as seen here:

https://github.com/dart-lang/shelf/blob/master/pkgs/shelf/lib/src/headers.dart#L32

Reason:

Improve Dart benchmark performance:

https://sharkbench.dev/web


  • [ ✅] I’ve reviewed the contributor guide and applied the relevant portions to this PR.

@kevmoo kevmoo merged commit 71b4c2c into dart-archive:master Jun 14, 2024
6 checks passed
@kevmoo
Copy link
Contributor

kevmoo commented Jun 14, 2024

FYI @gmpassos - #100

@gmpassos
Copy link
Contributor Author

FYI @gmpassos - #100

Preparing shelf...

@gmpassos
Copy link
Contributor Author

gmpassos commented Jun 14, 2024

FYI @kevmoo:

Waiting only for http_parser:

dart-lang/shelf@master...gmpassos:shelf:CaseInsensitiveMap.fromEntries

copybara-service bot pushed a commit to dart-lang/sdk that referenced this pull request Jun 14, 2024
Revisions updated by `dart tools/rev_sdk_deps.dart`.

collection (https://github.com/dart-lang/collection/compare/c90b19f..9354f38):
  9354f38  2024-06-13  Kevin Moore  Require Dart 3.4, test wasm on 3.4, prepare release (dart-archive/collection#349)

http (https://github.com/dart-lang/http/compare/e2e2170..8c325b9):
  8c325b9  2024-06-14  Anikate De  pkgs/ok_http: Stream response bodies. (dart-lang/http#1233)

http_parser (https://github.com/dart-lang/http_parser/compare/53d4041..71b4c2c):
  71b4c2c  2024-06-13  Graciliano Monteiro Passos  `CaseInsensitiveMap`: added constructor `fromEntries`. (dart-archive/http_parser#99)

Change-Id: I0f848975241261f42e0759d00188fef12731a085
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/371740
Auto-Submit: Devon Carew <devoncarew@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
@kevmoo
Copy link
Contributor

kevmoo commented Jun 17, 2024

publised @gmpassos - https://pub.dev/packages/http_parser/versions/4.1.0

mosuem pushed a commit to dart-lang/http that referenced this pull request Oct 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants